package cn.datawin.sms.cmpp2;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Data
@Document(collection = SubmitRes.COLLECTION_NAME)
public class SubmitRes {
    private static final long serialVersionUID = 1L;

    public static final String COLLECTION_NAME = "submit_res";

    @Id
    private String id;

    private Long smsDetailLogId;
    //input 来源
    private String crMsgId;
    private String prMsgId;
    //提交状态  0 立即回更 1 失败 2 超时
    private Integer submitStatus;
    //submitStatus=0 result
    private Integer submitResult;

    private Date createDate;

    private String ymd;

    private int seq;

    private short pkTotal;
    private short pkNumber;

}
